<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			*{
				padding: 0;
				margin: 0;
			}
			div{
				position: absolute;
				left: 50%;
				top: 50%;
				width: 200px;
				height: 200px;
				background: pink;
				transform: translate3d(-50%, -50%, 0);
				padding: 50px;
				box-sizing: border-box;
			}

		</style>
	</head>
	<body>
		<div>dd</div>
	</body>
</html>
